package com.luoke.util.myjdbc;

public enum SQLEnum{

    SELECT(1,"SELECT"),
    FROM(2,"FROM"),
    AND(3,"AND"),
    OR(4,"OR"),
    LIKE(5,"LIKE"),
    WHERE(6,"WHERE"),
    ON(7,"ON"),
    ORDER_BY(8,"ORDER BY"),
    GROUP_BY(9,"GROUP BY"),
    DESC(10,"DESC"),
    ASC(11,"ASC"),
    LEFT_JOIN(12,"LEFT JOIN"),
    RIGHT_JOIN(13,"RIGHT JOIN"),
    ALL(14,"ALL"),
    QUE_SIGN(15,"?"),
    PER_SIGN(16,"%"),
    EQ_SIGN(17," = "),
    NE_SIGN(18," != "),
    GE_SIGN(19," >= "),
    LE_SIGN(20," <= "),
    GT_SIGN(21," > "),
    LT_SIGN(22," < "),
    COMMA_SIGN(23,","),
    LIMIT(24,"LIMIT"),
    ASTERISK_SIGN(25," * "),
    UPDATE(26,"UPDATE"),
    SET(26,"SET"),
    INSERT_INTO(27,"INSERT INTO"),
    DELETE(28,"DELETE"),
    PARENTHESIS_START(29,"("),
    PARENTHESIS_END(30,")"),
    VALUES(31,"VALUES"),
    INSERT(32,"INSERT");
    private Integer key;
    private String value;
    SQLEnum(Integer key,String value){
        this.key=key;
        this.value=value;
    }

    public Integer getKey() {
        return key;
    }

    public void setKey(Integer key) {
        this.key = key;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }
}
